set(APP_EXEC rendergraph_test)

# Application
add_executable( ${APP_EXEC}
    main.cpp)
    # TestApp.h
    # TestApp.cpp)

target_link_libraries(${APP_EXEC} PRIVATE Selah)

set_target_properties(${APP_EXEC}  PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${SELAH_RUNTIME_OUTPUT_DIRECTORY})

# Create a Falcor application and link the main Falcor library.
# function(add_falcorAPP_EXECutable target)
#     addAPP_EXECutable(${target})

#     target_link_libraries(${target} PRIVATE Falcor)

#     set_target_properties(${target} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${FALCOR_RUNTIME_OUTPUT_DIRECTORY})

#     set_target_properties(${target} PROPERTIES VS_DEBUGGER_ENVIRONMENT "FALCOR_DEVMODE=1")
# endfunction()

# add_custom_command(
#   TARGET ${APP_EXEC} 
#   POST_BUILD
#   COMMAND ${CMAKE_COMMAND} -E copy_directory
#     "${CMAKE_CURRENT_SOURCE_DIR}/Shaders"
#     "$<TARGET_FILE_DIR:app_test>/Shaders"
#   COMMENT "Copying Shaders folder to output directory"
# )